package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-06-11
 */
@TableName("nb_niubility_brank")
public class NiubilityBrank extends Model<NiubilityBrank> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_sales_code")
    private Long gSalesCode;
    @TableField("g_sales_detail")
    private String gSalesDetail;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getgSalesCode() {
        return gSalesCode;
    }

    public void setgSalesCode(Long gSalesCode) {
        this.gSalesCode = gSalesCode;
    }

    public String getgSalesDetail() {
        return gSalesDetail;
    }

    public void setgSalesDetail(String gSalesDetail) {
        this.gSalesDetail = gSalesDetail;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "NiubilityBrank{" +
        "id=" + id +
        ", gSalesCode=" + gSalesCode +
        ", gSalesDetail=" + gSalesDetail +
        "}";
    }
}
